package xrz.com.jr.adapter;

import android.content.Context;
import android.view.View;
import android.widget.ImageView;

import com.joanzapata.android.BaseAdapterHelper;
import com.joanzapata.android.QuickAdapter;

import xrz.com.jr.R;
import xrz.com.jr.entity.NomalModel;
import xrz.com.jr.entity.TelModel;
import xrz.com.jr.utils.ImageUtils;

/**
 * Created by Administrator on 2016/7/28.
 */
public class Adapter_TelModel extends QuickAdapter<TelModel>{
    @Override
    protected void convert(BaseAdapterHelper helper, TelModel item) {
        ImageView imageView = helper.getView(R.id.imageview);
        imageView.setVisibility(View.GONE);
        helper.setText(R.id.textview, item.getName()+"      "+item.getTel());
    }

    public Adapter_TelModel(Context context) {
        super(context, R.layout.item_nomalmodel);
    }
}
